import types from './types'
import Model from '../../../models/apps'

export default {
  /**
   * 获取列表
   */
  getAllApps ({commit}, {params}) {
    return new Model('allApps').GET({params}).then((res) => {
      commit(types.GET_ALLAPPS, {
        data: res.data
      })
    })
  }
}
